﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<WebClient.Models.ViewModels.GroupViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
		<% if (ViewData["ContactResult"] != null && ViewData["ContactResult"].ToString() != ""){ %>
			alert('<%= ViewData["ContactResult"].ToString() %>');
		<% } %>
	</script>
    <div id="content">
        <div id="container">
            <h1 class="h1" id="titleh1">Contact</h1>
            <div class="divleft" id="contact_div">
                <!-- Details here -->
                <div style="width: 500px;">
                    Fill in the form below to ask us a question or send a message. <br><br>Our staff handles only questions in English or Vietnamese.<br><br><b>For urgent questions regarding your order, please contact your restaurant directly or call us at 08 3602 0769!</b> We have sent the restaurant telephone number to your email address with your order confirmation. <br /> <br />
                </div>
                <% using (Html.BeginForm("AddContact", "Home", FormMethod.Post, new { onsubmit = "return ValidateContact();" }))
                   { %>
                    <table>
                        <tr>
                            <td width="100" height="30">E-Mail</td>
                            <td><input type="text" name="Contact_Email" id="email" class="loginf" maxlength="100" style="width:400px;" /></td>
                        </tr>
                        <tr>
                            <td width="100" height="30">Name</td>
                            <td>
                                <input type="text" name="Contact_Name" id="name" class="loginf" maxlength="100" style="width:400px;" />
                            </td>
                        </tr>
                        <tr>
                            <td width="100" height="30">Subject</td>
                            <td><input type="text" name="Contact_Subject" id="subject" class="loginf" maxlength="100" style="width:400px;" /></td>
                        </tr>
                        <tr>
                            <td width="100" style="vertical-align:top;">Details</td>
                            <td>
                                <textarea name="Contact_Detail" id="details" class="loginfr" style="width:400px;height:200px;"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td width="100" height="30"></td>
                            <td align="right">
                                <input name="sbt" id="sbt" type="submit" value="Send" style="background-image: url(http://www.vietnammm.com/images/bgbutton.jpg); color: #FFFFFF; font-size: 16px; font-weight: bold; border: 1px #DBDBDB solid; height: 30px; margin-right: 20px; margin-top: 10px;"/>
                            </td>
                        </tr>
                    </table>
                <% } %>
            </div>
            <div class="divright">
                Orders made at vietnammm.com are handled by <b>Vietnammm  Co., Ltd.</b><br><br>Telephone: 08 3602 0769<br><br>Email: <a href="mailto:info@vietnammm.com">info@vietnammm.com</a><br><br>  Business hours: 09.00 - 23.00<br><br>
            </div>
            <div style="padding-top: 10px; clear: both;">&nbsp;</div>
        </div>
    </div>
</asp:Content>
